package com.res.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.res.entity.Teacher;

public interface TeacherService {

//	模糊查询教师信息
	Page<Teacher> getTeacherAll(Teacher t, Pageable pageable, Integer tid);

//	添加教师信息
	String addTeacher(Teacher t, Integer tid);

//	根据id修改教师信息
	String updateTeacher(Teacher t, Integer tid);

//	根据id删除教师信息
	String deleteTeacher(Integer tid);
}
